package com.jingtai.core.entity.supply;


import com.baomidou.mybatisplus.annotation.TableName;
import com.jingtai.core.entity.BaseEntity;
import com.jingtai.validate.swagger.CApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

import io.swagger.annotations.*;

import java.math.BigDecimal;

import java.util.Date;

/**
 * 供应商
 * 
 * @author sunlaiqian
 * @date 2020-12-02 15:08:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_supply_info")
@ApiModel(value = "供应商", description = "供应商")
public class SupplyInfo  extends BaseEntity implements Serializable {




	/**
	 * 头像
	 */
	@CApiModelProperty(value = "名称",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String supplyName;

	/**
	 * 名称
	 */
	@CApiModelProperty(value = "头像",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String supplyHead;

	/**
	 * 负责人
	 */
	@CApiModelProperty(value = "负责人",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String responsibleName;

	/**
	 * 联系电话
	 */
	@CApiModelProperty(value = "联系电话",required = true,cNotEmpty = true,cPhone = true,groups = {Create.class,Update.class})
	private String supplyPhone;

	/**
	 * 邮箱
	 */
	@CApiModelProperty(value = "邮箱",required = true,cNotEmpty = true,cEmail = true,groups = {Create.class,Update.class})
	private String email;

	/**
	 * 地址——省
	 */
	@CApiModelProperty(value = "地址——省",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String province;

	/**
	 * 地址——市
	 */
	@CApiModelProperty(value = "地址——市",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String city;

	/**
	 * 地址——区
	 */
	@CApiModelProperty(value = "地址——区",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String area;

	/**
	 * 详细地址
	 */
	@CApiModelProperty(value = "详细地址",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String address;

	/**
	 * 营业执照
	 */
	@CApiModelProperty(value = "营业执照",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String license;

	/**
	 * 售卖商品分类id
	 */
	@CApiModelProperty(value = "售卖商品分类id",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String categoryIds;

	/**
	 * 余额
	 */
	@CApiModelProperty(value = "余额",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private BigDecimal supplyPrice;

	/**
	 * 介绍
	 */
	@CApiModelProperty(value = "介绍",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private String supplyDetail;


	/**
	 * 启用状态 1:正常  2:注销  3:冻结
	 */
	@CApiModelProperty(value = "启用状态 0：已启用 1：未启用",required = true,cNotEmpty = true,groups = {Create.class,Update.class})
	private Integer enableState;

}
